package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {
    void insertByDish(DishDTO dishDTO);

    PageResult selectByPage(DishPageQueryDTO dishPageQueryDTO);

    void deleteByids(List<Integer> ids);

    void putstatus(Integer status, Integer id);

    DishVO selectById(Integer id);

    void putByList(DishDTO dishDTO);

    List<Dish> selectByCategoryId(Long categoryId);
}
